if (isset(f5)) {
  load.pic(v0);
  draw.pic(v0);
  discard.pic(v0);

  status.line.on();
  accept.input();
  load.view(31);
  set.view(o1,31);
   set.cel(o1,0);
  animate.obj(o1);
  position(o1,45,88);
  draw(o1);

  stop.cycling(o1);
    load.view(26);
  set.view(o2,26);
  position(o2,112,107);
  set.loop(o2,2);
  set.cel(o2,0);
  stop.cycling(o2);
  animate.obj(o2);
  draw(o2);
   stop.cycling(o2);

  if(v1 == 25){
  position(o0,52,91);
}
 if(v1 == 22){
   position(o0,84,143);
   }
  draw(o0);
  show.pic();
  }
  if(said("look")){
  print("It's the ticket stand. Go buy a ticket");
    }
  if(said("look","lady")){
  print("She's ugly.");
    }
  if(said("look","stand")){
  print("It's red.");
      }
  if(said("look","picture")){
  print("It's a beatuful picture by Leonardo Da Rull.");
  }
  if(said("talk","man")){
  print("It's a she.");


}
if (posn(o0,75,152,95,163)) {
  new.room(22);
}
if (said("open","door")) {
if (posn(o0,43,84,70,99)) {
print("Ok");
    end.of.loop(o1,f53);
    return();

  }
  print("You're not close enough.");
}
if (isset(f53)) {
  reset(f53);
  new.room(25);
}
if (said("talk","woman")) {
  if (v70 == 3) {
    print("You already talked to her.");
    return();
  }
  print("Lady: 'Hello, may I help you?'");
  print("Lefty: 'Have you got any tickets to some islands?'");
  print("Lady: 'Yes would you like one?'");
  v70 = 3;
}
if((said("yes")||
said("buy","ticket"))){

  if (v69 == 9) {
    print("You already have one.");
    return();
  }
  print("Lefty: 'Yes, could I have one?'.");
  print("Lady: 'Yes, That will be 30 dollars'.");
  print("Lefty: 'I don't have that much. I only have %v29 dollars");
  print("Lady: 'Too bad, but if you find anything cool then you can show it to "
        "me and if I like then I'll give you the ticket'.");
  print("Lefty: 'Ok, but what's you're name because I can't give the thing to "
        "everyone or what?");
  print("Lady: 'My name is Fook me'.");
  print("Lefty: '(nice name) Ok bye.'");
  print("Lady: 'Bye'.");
  v69 = 9;
  v3 += 1;
}
if (said("give","necklace")) {
  if (has("necklace")) {
    if (v69 == 9) {
    if(v238 == 5){
     print("Lefty: 'Are you Fook me?'");
      print("Lady: 'Yes, that's me.'");
      print("Lefty: 'Here's a necklace I found and 10 dollars.'");
      print("Lady: 'Thanks, we have one ticket free.'");
      print("Lefty: 'I'll take it!'");
      print("Lady: 'Have a nice vacation.'");
      get("ticket");
      drop("necklace");
      v3 += 5;
      return();

     }
  print("Lady: All tickets are sold out for now.");
     return();
    }

       print("She doesn't want it right now.");
      return();
      }
    print("Why should I do that when I haven't got one.");
    return();

  }

return();